/**
 * Copyright (c) 2018, Alex. All rights reserved.
 */
package com.oschina.bottle.poi;

import java.io.IOException;

/**
 * 文件导入
 *
 * @author <a href="mailto:zhongchao@gegejia.com">zhong</a>
 * @version 1.0 2018/1/22
 * @since 1.0
 */
public interface Importer {

    /**
     * 导入：文件解析
     *
     * fileInfo中的参数
     * ++++ name必填
     *
     * 导入的数据从 data中获取
     *
     * @param fileInfo      封装的导入文件信息
     * @throws IOException  io异常
     */
    void resolve(FileInfo fileInfo) throws IOException;
}
